package com.wn.class30.mapper;

import com.wn.class30.entity.ProductImgHead;
import com.wn.class30.entity.ProductImgHeadExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductImgHeadDao {
    long countByExample(ProductImgHeadExample example);

    int deleteByExample(ProductImgHeadExample example);

    int deleteByPrimaryKey(Integer productImgHeadId);

    int insert(ProductImgHead record);

    int insertSelective(ProductImgHead record);

    List<ProductImgHead> selectByExample(ProductImgHeadExample example);

    ProductImgHead selectByPrimaryKey(Integer productImgHeadId);

    int updateByExampleSelective(@Param("record") ProductImgHead record, @Param("example") ProductImgHeadExample example);

    int updateByExample(@Param("record") ProductImgHead record, @Param("example") ProductImgHeadExample example);

    int updateByPrimaryKeySelective(ProductImgHead record);

    int updateByPrimaryKey(ProductImgHead record);
}